using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Html;
using Avalonia.Markup.Xaml;
using TheArtOfDev.HtmlRenderer.Avalonia;

namespace TestAvaloniaHand
{
    public partial class Window1 : Window
    {

        public Window1()
        {
            string s = typeof(HtmlLabel).Assembly.FullName;
            

            InitializeComponent();
            HtmlContainer htmlContainer = new HtmlContainer();
            htmlContainer.SetHtml("https://www.baidu.com/");
            HtmlLabel htmlLabel = new HtmlLabel();
            //HtmlControl html = new HtmlControl();

#if DEBUG
            this.AttachDevTools();
#endif
        }

        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
          
          
        }
    }

    //public class Test
    //{
    //    public const string T1 = "123";

    //    public string Get()
    //    {
    //       // return this.T1;
    //    }
    //}

    //public class MyHtml : HtmlLabel
    //{

    //}
}
